package com.parking.order.model.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 物业回复评论Form
 * */
@Data
@ApiModel("物业回复评论参数")
public class ReplyCommentForm {
    /**
     * 订单评论编号
     * */
    @NotNull(message = "commentId不能为空")
    @Min(message = "commentId为正数", value = 1)
    @ApiModelProperty("订单评论编号")
    private Integer commentId;
    /**
     * 回复内容
     * */
    @NotBlank(message = "replyInfo不能为空")
    @ApiModelProperty("回复内容")
    private String replyInfo;
}
